package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cpf
 *
 */
@ApiModel(value = "Dictionary对象", description = "")
public class Dictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("字典名称")
    private String dictionaryName;

    @ApiModelProperty("字典标识")
    private String dictionaryFlag;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态")
    private String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    public Integer getId() {
       return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getDictionaryName() {
       return dictionaryName;
    }


    public void setDictionaryName(String dictionaryName) {
        this.dictionaryName = dictionaryName;
    }


    public String getDictionaryFlag() {
       return dictionaryFlag;
    }


    public void setDictionaryFlag(String dictionaryFlag) {
        this.dictionaryFlag = dictionaryFlag;
    }


    public String getRemark() {
       return remark;
    }


    public void setRemark(String remark) {
        this.remark = remark;
    }


    public String getStatus() {
       return status;
    }


    public void setStatus(String status) {
        this.status = status;
    }


    public Date getCreateTime() {
       return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdateTime() {
       return updateTime;
    }


    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



    @Override
    public String toString() {
        return "Dictionary{" +
        "id=" + id +
        ", dictionaryName=" + dictionaryName +
        ", dictionaryFlag=" + dictionaryFlag +
        ", remark=" + remark +
        ", status=" + status +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
